#!/bin/bash
#

count=1
while read line; do
	user_id=$(echo $line | awk -F: '{print $3}')
	if [ $user_id -ge 1 -a $user_id -le 999 ]; then
		echo $line | awk -F: '{print $1}'
		let count++
	fi
	if [ $count -eq 4 ];then
		break
	fi
done < /etc/passwd
